package practice抽奖箱;

public class APP {
    public static void main(String[] args) {

        // 创建线程对象
        lotteryBox2 lb1 = new lotteryBox2();
        lotteryBox2 lb2 = new lotteryBox2();

        lb1.setName("抽奖箱1");
        lb2.setName("抽奖箱2");

        lb2.start();
        lb1.start();

    }
}
